package com.cjq.allservice.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author cjq
 * @since 2022-01-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Member对象", description="")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "成员表id")
    @TableId(value = "member_id", type = IdType.ID_WORKER_STR)
    private String memberId;

    @ApiModelProperty(value = "组织活动id")
    private String memberActivityId;

    @ApiModelProperty(value = "参加用户id")
    private String memberUserId;

    @ApiModelProperty(value = "逻辑删除：1-删除，0-未删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
